
import mysql from 'think-model-mysql'
export default {
  handle: mysql,
  database: process.env.DATABASE,
  prefix: process.env.PREFIX,
  encoding: process.env.CHARSET,
  host: process.env.HOSTNAME, 
  port: process.env.HOSTPORT, 
  user: process.env.USER, 
  password: process.env.PASSWORD, 
  dateStrings: true,
  reuseDB:true // 事务回滚用，复用数据库连接
};
